package com.jf.car.dao;

import com.jf.car.bean.Car;
import com.jf.car.util.PageInfo;

import java.util.List;

public interface CarDao {
    List<Car> getPage(PageInfo pageInfo, Car car);
    int getCount(Car car);
    Car getById(int id);
    int addSelect(Car car);
    int updateSelect(Car car);
    int delete(int id);
    /*车牌重名验证*/
    Car getByCarNo(String carNo);
    List<Car> getCarByCategoryId(int categoryId);
    List<Car> getList();
}
